package cn.saltybe.analysis.util;

import java.util.List;

public class ArrayUtils {
    public static int[] ListToArray(List<Integer> list) {
        Integer[] integer = list.toArray(new Integer[list.size()]);
        int[] array = new int[list.size()];
        for (int i = 0; i < list.size(); i++) {
            array[i] = list.get(i);
        }
        return array;
    }
}